package com.pachong.service;

import com.alibaba.fastjson.JSONArray;
import com.domain.bean.sys.SysMenu;
import com.domain.bean.dto.SysMenuVO;
import com.pachong.common.BaseService;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:菜单service
 * Author : wangyu
 * Date: 2018-01-26
 * Time: 15:38
 */
public interface SysMenuService extends BaseService<SysMenu,String> {
    JSONArray getMenuJsonByUser(List<SysMenuVO> menuList);

    List<SysMenuVO> getUserMenu(String id);

    JSONArray getTreeUtil(String roleId);

    List<SysMenu> getMenuNotSuper();

    List<SysMenu> getMenuChildren(String id);

    List<SysMenuVO> getMenuVoList();
}
